#include "Code.hpp"

namespace sl
{
	std::string ErrorCodeToString(ErrorCode code)
	{
		return luabind::call_function<std::string>(luabind::globals((*Lua)())["sl"]["EnumToString"], luabind::globals((*Lua)())["sl"]["ErrorCode"], code);
	}
}